//
//  MyCollectionViewCell.m
//  OAPro
//
//  Created by wucha on 2018/5/22.
//  Copyright © 2018年 fc. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, 99, SCREEN_WIDTH/3, 1)];
        lineView.backgroundColor = DefaultLineColor;
        [self.contentView addSubview:lineView];
        _topImage  = [[UIImageView alloc] initWithFrame:CGRectMake(0, 15, SCREEN_WIDTH/3, 50)];
        _topImage.contentMode = UIViewContentModeCenter;
//        _topImage.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_topImage];
        
        _botlabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 60, SCREEN_WIDTH/3, 30)];
        _botlabel.textAlignment = NSTextAlignmentCenter;
        _botlabel.textColor = [UIColor blackColor];
        _botlabel.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:_botlabel];
        
        UIView *lineView1 = [[UIView alloc] initWithFrame:CGRectMake(SCREEN_WIDTH/3-1, 0, 1, 100)];
        lineView1.backgroundColor = DefaultLineColor;
        [self.contentView addSubview:lineView1];
    }
    
    return self;
}

@end
